package com.example.demo.entity.pojo.repository;

import com.baomidou.mybatisplus.annotation.TableName;
import com.example.demo.common.entity.pojo.BaseEntityPoJo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 材料领用详情表
 *
 * @author Mei Ruoxiao
 * @date 2020-09-19
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ApiModel("材料领用详情")
@TableName("pick_detail")
public class PickDetailPoJo extends BaseEntityPoJo {

    @ApiModelProperty(value = "领用ID", example = "1258426382")
    private Long pickId;
    @ApiModelProperty(value = "物料编码", example = "HD20200915S")
    private String num;
    @ApiModelProperty(value = "名称", example = "HD20200915S")
    private String name;
    @ApiModelProperty(value = "规格/型号", example = "HD20200915S")
    private Integer spec;
    @ApiModelProperty(value = "数量", example = "10")
    private Integer quantity;
    @ApiModelProperty(value = "位号", example = "4")
    private String position;
    @ApiModelProperty(value = "备注", example = "无货就换料")
    private String remarks;
    @ApiModelProperty(value = "领料人ID", example = "1822542511325")
    private String picker;
    @ApiModelProperty(value = "领料人名称", example = "张思思")
    private String pickerName;
    @ApiModelProperty(value = "应领取数量", example = "30=10x3")
    private Integer amount;
    @ApiModelProperty(value = "规格/型号", example = "HD20200915S")
    private Integer state;

}
